]> dgit.raspbian.org Git - gnome-shell.git/commit
js: Use async D-Bus wrappers
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 23 Jun 2022 12:53:29 +0000 (14:53 +0200)
committerMarge Bot <marge-bot@gnome.org>
Mon, 1 Aug 2022 18:51:14 +0000 (18:51 +0000)
commit637ee7386e778c853e0f381e4ddb022e060eea79
treec11f134204af6960d491971035f716dea70c9ea4
parenta3db9093834e500d10a5f35f45c499ed1f16854d
js: Use async D-Bus wrappers

After porting the more complex cases - in particular those that
affect a module's API - we are left with straight-forward D-Bus
method calls that can be moved to promise-based wrappers in one
go.

For consistency, this also switches from Remote to Async where
the call result is ignored.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2344>
23 files changed:
js/dbusServices/extensions/extensionsService.js
js/dbusServices/notifications/notificationDaemon.js
js/dbusServices/screensaver/screenSaverService.js
js/gdm/realmd.js
js/gdm/util.js
js/misc/modemManager.js
js/misc/systemActions.js
js/misc/weather.js
js/ui/calendar.js
js/ui/components/automountManager.js
js/ui/endSessionDialog.js
js/ui/inhibitShortcutsDialog.js
js/ui/mpris.js
js/ui/notificationDaemon.js
js/ui/remoteSearch.js
js/ui/screenShield.js
js/ui/screenshot.js
js/ui/scripting.js
js/ui/status/location.js
js/ui/status/network.js
js/ui/status/thunderbolt.js
js/ui/windowManager.js
subprojects/extensions-app/js/main.js